package vip.geeker.iotms.persistance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import vip.geeker.iotms.dto.WarnRuleDto;
import vip.geeker.iotms.persistance.model.WarnRule;

import java.util.List;

public interface WarnRuleMapper extends BaseMapper<WarnRule> {

    int deleteByPrimaryKey(Integer id);

    int insert(WarnRule record);

    int insertSelective(WarnRule record);

    WarnRule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WarnRule record);

    int updateByPrimaryKey(WarnRule record);

    List<WarnRuleDto> queryPage(WarnRule rule);
}